/************************************************************************/
/*    Author: Scott Bevin                                               */
/************************************************************************/

#pragma once

#include "..\SystemComponent.h"
#include "..\..\XMessaging\Messenger.h"
#include "..\..\Application.h"
#include "OgreRenderer.h"

namespace XF
	{
	class RendererGameComponent :
		public XF::SystemComponent, public XF::Messenger
	{
	private:
		XF::OgreRenderer* mRenderer;

	public:
		RendererGameComponent(XF::Application *ownerApp, XF::OgreRenderer* renderer);
		~RendererGameComponent();

		bool OnInitialise();
		bool OnHandleMessage(const XF::Message &message);
		void OnShutDown();
	};
}